package com._复习;

import java.util.Random;

public class Test07 {
    public static void main(String[] args) {
        Random a = new Random();
        System.out.print("[");
        for (int i = 0; i < 16; i++) {
            int b = a.nextInt(3) + 1;
            switch (b) {
                case 1:
                    int c = a.nextInt(26) + 97;
                    System.out.print((char) c);
                    break;
                case 2:
                    int d = a.nextInt(10);
                    System.out.print(d);
                    break;
                case 3:
                    int e = a.nextInt(26) + 65;
                    System.out.print((char) e);
                    break;
                default:

            }

        }
        System.out.println("]");
    }
}
